package com.example.book.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: Hua YY
 * Date: 2024-12-24
 * Time: 11:53
 */
@RestController
public class FaviconController {
    @RequestMapping("/favicon.ico")
    public void favicon() {
        System.out.println("进来favicon.ico接口了");
        // Empty method to avoid 404 for favicon.ico
    }
}
